package com.yidusoft.service.impl;

import com.yidusoft.dao.SecRoleMemberMapper;
import com.yidusoft.domain.SecRoleMember;
import com.yidusoft.service.SecRoleMemberService;
import com.yidusoft.core.AbstractService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;


/**
 * Created by CodeGenerator on 2017/07/16.
 */
@Service
@Transactional
public class SecRoleMemberServiceImpl extends AbstractService<SecRoleMember> implements SecRoleMemberService {
    @Resource
    private SecRoleMemberMapper secRoleMemberMapper;

    @Override
    public void  deleteUserIdAndRoleId(SecRoleMember secRoleMember){
        secRoleMemberMapper.deleteUserIdAndRoleId(secRoleMember);
    };
}
